package com.example.demo.annotation;

/**
 *  @ author  zengqingfa
 *  @ created in    2020/2/22  21:41
 *
 **/

import java.lang.annotation.Repeatable;

@Repeatable(MyAnnotations8.class)
@interface MyAnnotation8 {
    String role();
}

@interface MyAnnotations8 {
    MyAnnotation8[] value();
}

class RepeatAnnotation8 {
    @MyAnnotation8(role = "admin")
    @MyAnnotation8(role = "manager")
    public void doSomeThing() {
    }
}